
function createNormalMakeUp(baseFilePath,makeup,cfg)

    
        --eyeLiner
      self.eyeLinerPath = self.baseFilePath .. "img/eye_liner/eye_liner.png"
      if (DeviceConfig.instance().platformType == DeviceConfigPlatformType.P_IOS) then
        local eyeLinerPath_iOS = self.baseFilePath .. "img/eye_liner_iOS/eye_liner_iOS.png"
        local file = io.open(eyeLinerPath_iOS, "r")
        if file ~= nil then
          self.eyeLinerPath = eyeLinerPath_iOS
        end
      end

  --configration
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYELINER, self.eyeLinerPath, cfg.eyeLinerBlendMode)
  
  --eyeLashes
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYELASHES, self.baseFilePath .. "img/eyelashes/eyelashes.png", cfg.eyeLashesBlendMode)
  
  local makeup_param = makeup:getParam()
  
    -- beauty
    makeup_param.laughLine = cfg.laughLine
    makeup_param.eyeLut = cfg.eyeLut
    makeup_param.eyePlim = cfg.eyePlim
    makeup_param.darkCircle = cfg.darkCircle
    makeup_param.whiteTeeth = cfg.whiteTeeth
  
    -- makeup
    makeup_param.faceContour = cfg.faceContour
    makeup_param.cheek = cfg.cheek
    makeup_param.lip = cfg.lip
    makeup_param.colorLens = cfg.colorLens
    makeup_param.eyeBrow = cfg.eyeBrow
    makeup_param.eyeShadow = cfg.eyeShadow
    makeup_param.eyeLiner = cfg.eyeLiner
    makeup_param.eyeLashes = cfg.eyeLashes

    makeup:setPathAndBlendMode(KuruMakeupNodeType.BLUSH, self.baseFilePath .. "img/blush.png", cfg.blushBlendMode)
    makeup:setPathAndBlendMode(KuruMakeupNodeType.CONTOUR, self.baseFilePath .. "img/contour.png", BlendMode.None)
    makeup:setPathAndBlendMode(KuruMakeupNodeType.LIP_COLOR, self.baseFilePath .. "img/lip_color.png", BlendMode.None)
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYE_COLOR, self.baseFilePath .. "img/eye_color_0001/eye_color_0001.gpb", cfg.eyeColorBlendMode)
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYEBROWS, self.baseFilePath .. "img/eyebrows.png", cfg.eyeBrowsBlendMode)

    --eyeShadow
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER0, self.baseFilePath .. "img/eye_shadow/eye_shadow_L0.png", cfg.eyeShadowLayer0BlendMode)
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER1, self.baseFilePath .. "img/eye_shadow/eye_shadow_L1.png", cfg.eyeShadowLayer1BlendMode)
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER2, self.baseFilePath .. "img/eye_shadow/eye_shadow_L2.png", cfg.eyeShadowLayer2BlendMode)

    --eyeLiner
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYELINER, self.baseFilePath .. "img/eye_liner/eye_liner.png", cfg.eyeLinerBlendMode)

    --eyeLashes
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYELASHES, self.baseFilePath .. "img/eyelashes/eyelashes.png", cfg.eyeLashesBlendMode)
     
    return makeup
end

function KuruMakeUp:update(scene,calculatedStrength)
  local srcPath = self.baseFilePath
  local makeup = self.makeUpNode
  local cfg = self.configModlue

  makeup:setPathAndBlendMode(KuruMakeupNodeType.BLUSH, srcPath .. "img/blush.png", cfg.blushBlendMode)
  makeup:setPathAndBlendMode(KuruMakeupNodeType.CONTOUR, srcPath .. "img/contour.png", BlendMode.None)
  makeup:setPathAndBlendMode(KuruMakeupNodeType.LIP_COLOR, srcPath .. "img/lip_color.png", BlendMode.None)
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYE_COLOR, srcPath .. "img/eye_color_0001/eye_color_0001.gpb", cfg.eyeColorBlendMode)
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYEBROWS, srcPath .. "img/eyebrows.png", cfg.eyeBrowsBlendMode)

  --eyeShadow

  if self.oldEyeShadowLayer1BlendMode ~= cfg.eyeShadowLayer1BlendMode then
    self.oldEyeShadowLayer1BlendMode = cfg.eyeShadowLayer1BlendMode
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER0, srcPath .. "img/eye_shadow/eye_shadow_L0.png", cfg.eyeShadowLayer0BlendMode + 1)
  end

  if oldEyeShadowLayer2BlendMode ~= eyeShadowLayer2BlendMode then
    oldEyeShadowLayer2BlendMode = eyeShadowLayer2BlendMode
    makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER0, srcPath .. "img/eye_shadow/eye_shadow_L0.png", cfg.eyeShadowLayer0BlendMode + 1)
  end
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER0, srcPath .. "img/eye_shadow/eye_shadow_L0.png", cfg.eyeShadowLayer0BlendMode)
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER1, srcPath .. "img/eye_shadow/eye_shadow_L1.png", cfg.eyeShadowLayer1BlendMode)
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYESHADOW_LAYER2, srcPath .. "img/eye_shadow/eye_shadow_L2.png", cfg.eyeShadowLayer2BlendMode)

  --eyeLiner
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYELINER, srcPath .. "img/eye_liner/eye_liner.png", cfg.eyeLinerBlendMode)

  --eyeLashes
  makeup:setPathAndBlendMode(KuruMakeupNodeType.EYELASHES, srcPath .. "img/eyelashes/eyelashes.png", cfg.eyeLashesBlendMode)



  -- beauty
  makeup_param.laughLine = cfg.laughLine * calculatedStrength
  makeup_param.eyeLut = cfg.eyeLut * calculatedStrength
  makeup_param.eyePlim = cfg.eyePlim * calculatedStrength
  makeup_param.darkCircle = cfg.darkCircle * calculatedStrength
  makeup_param.whiteTeeth = cfg.whiteTeeth * calculatedStrength
  -- makeup
  makeup_param.faceContour = cfg.faceContour * calculatedStrength
  makeup_param.cheek = cfg.cheek * calculatedStrength
  makeup_param.lip = cfg.lip * calculatedStrength
  makeup_param.colorLens = cfg.colorLens * calculatedStrength
  makeup_param.eyeBrow = cfg.eyeBrow * calculatedStrength
  makeup_param.eyeShadow = cfg.eyeShadow * calculatedStrength
  makeup_param.eyeLiner = cfg.eyeLiner * calculatedStrength
  makeup_param.eyeLashes = cfg.eyeLashes * calculatedStrength

end